package com.xigua.volatileDemo;

import java.util.concurrent.atomic.AtomicInteger;

/**
 * @author LiRongHua
 * @Title: ${file_name}
 * @Package ${package_name}
 * @Description: ${todo}
 * @date 2021/12/2512:01
 */
public class VolatileAtomicDemo {
    public static void main(String[] args) {
        VolatileAtomicThread volatileAtomicThread = new VolatileAtomicThread();
        for (int i = 0; i < 100; i++) {
            new Thread(volatileAtomicThread).start();
        }


    }
}
